|
A headless browser is a web browser without a graphical user interface. Headless browsers provide automated control of a web page in an environment similar to popular web browsers, but are executed via a command line interface or using network communication. They are particularly useful for testing web pages as they are able to render and understand HTML the same way a browser would, including styling elements such as page layout, colour, font selection and execution of JavaScript and AJAX which are usually not available when using other testing methods.〔(【引用サイトリンク】title=What is a headless browser? )〕〔(【引用サイトリンク】title=Quick Start )〕 Google stated in 2009 that using a headless browser could help their search engine index content from websites that use AJAX.〔(【引用サイトリンク】title=Official Google Webmaster Central Blog: A proposal for making AJAX crawlable )〕 ==Use Cases for Headless Browsers== Headless browsers are used for:〔(【引用サイトリンク】title=PhantomJS - PhantomJS )〕〔(【引用サイトリンク】title=trifleJS )〕 * Test automation in modern web applications. * Taking screen shots of web pages. * Running automated tests for JavaScript libraries. * Scraping web sites for data. * Automating interaction of web pages. 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Headless browser」の詳細全文を読む スポンサード リンク
|